<template>
  <router-view />
</template>

<script setup>
defineOptions({
  name: 'App'
})
</script>

<script>
import { useStore } from 'stores/store';
export default {
  preFetch ({ store, currentRoute, previousRoute, redirect, ssrContext, urlPath, publicPath }) {
    const $store = useStore(store);
    return $store.fetchSiteConfig();
  }
}
</script>
